<form name="frmListIndustry" id="frmListIndustry">
<table border="1" cellspacing="1px" cellpadding="10px "align="center" width="100%">
    <tr>
        <th width="15">#</th>
        <th>Industry name</th>
    </tr>
    <{foreach name = nameIndustry key = keyIndustry item = itemIndustry from = $arrIndustry}>
    <tr>
        <td><{$keyIndustry+1}></td>
        <td>
        	<input type="text" size="70" name="industry_name_<{$itemIndustry.id}>" id="industry_name_<{$itemIndustry.id}>" value="<{$itemIndustry.industry_name}>" />
        	<input type="button" value=" Update " onclick="javascript:updateIndustry(this, <{$itemIndustry.id}>)" name="btnUpdate<{$itemIndustry.id}>" id="btnUpdate<{$itemIndustry.id}>" />
        </td>
    </tr>
    <{/foreach}>
</table>
</form>
<form name="frmAddIndustry" id="frmAddIndustry" onsubmit="return checkFrmAddIndustry(this)">
<table border="0" cellpadding="2" cellspacing="1">
	<tr>
  	<td>
    	Industry name: <input type="text" name="industry_name" id="industry_name" value="" size="50" />
      <input type="submit" name="btnAddIndustry" id="btnAddIndustry" value=" Add " />
    </td>
  </tr>
</table>
</form>